<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>Giveda® Embedded Midware: GSlotAPI&lt; Ret(Args...)&gt; 模板类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">Giveda® Embedded Midware
   &#160;<span id="projectnumber">1.2.0</span>
   </div>
   <div id="projectbrief">本文档受《版权法》、《版权公约》保护。深圳技达®版权所有</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="namespaces.html"><span>命名空间</span></a></li>
      <li class="current"><a href="annotated.html"><span>类</span></a></li>
      <li><a href="files.html"><span>文件</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>类列表</span></a></li>
      <li><a href="classes.html"><span>类索引</span></a></li>
      <li><a href="hierarchy.html"><span>类继承关系</span></a></li>
      <li><a href="functions.html"><span>类成员</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>全部</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>类</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>命名空间</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>文件</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>函数</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>变量</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>类型定义</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>枚举</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>枚举值</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>友元</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>宏定义</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark">&#160;</span>页</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-attribs">Public 属性</a> &#124;
<a href="#pro-attribs">Protected 属性</a> &#124;
<a href="class_g_slot_a_p_i_3_01_ret_07_args_8_8_8_08_4-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">GSlotAPI&lt; Ret(Args...)&gt; 模板类 参考<span class="mlabels"><span class="mlabel">abstract</span></span></div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;gObject_cpp11.h&gt;</code></p>

<p>被 <a class="el" href="class_g_slot_cpp_3_01_receiver_00_01_ret_07_args_8_8_8_08_4.html">GSlotCpp&lt; Receiver, Ret(Args...)&gt;</a> 继承.</p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a1701fb6604f8a6f4d4e2805f485cca62"><td class="memItemLeft" align="right" valign="top"><a class="el" href="g_object__cpp11_8h.html#a840bee69409114b9a31ecfca0995f9e2">E_SLOT_TYPE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_slot_a_p_i_3_01_ret_07_args_8_8_8_08_4.html#a1701fb6604f8a6f4d4e2805f485cca62">type</a> () const </td></tr>
<tr class="separator:a1701fb6604f8a6f4d4e2805f485cca62"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a843104e8df8f866e3eabb08090f9b032"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_slot_a_p_i_3_01_ret_07_args_8_8_8_08_4.html#a843104e8df8f866e3eabb08090f9b032">GSlotAPI</a> (void *slot, <a class="el" href="class_g_object.html">GObject</a> *receiver=NULL, <a class="el" href="g_object__cpp11_8h.html#a840bee69409114b9a31ecfca0995f9e2">E_SLOT_TYPE</a> t=<a class="el" href="g_object__cpp11_8h.html#a840bee69409114b9a31ecfca0995f9e2a3fc6c5937b1d4f58d15eb8275f33a79d">C_SLOT_TYPE</a>)</td></tr>
<tr class="separator:a843104e8df8f866e3eabb08090f9b032"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a0573264e0a275b39f2a4749e097590"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_slot_a_p_i_3_01_ret_07_args_8_8_8_08_4.html#a2a0573264e0a275b39f2a4749e097590">~GSlotAPI</a> ()</td></tr>
<tr class="separator:a2a0573264e0a275b39f2a4749e097590"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9702c9ca132ac1199b314d42be4382fb"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_slot_a_p_i_3_01_ret_07_args_8_8_8_08_4.html#a9702c9ca132ac1199b314d42be4382fb">operator()</a> (Args &amp;...args)=0</td></tr>
<tr class="separator:a9702c9ca132ac1199b314d42be4382fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62d77b9894e72f5d0be3bb0965f7a4d3"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_slot_a_p_i_3_01_ret_07_args_8_8_8_08_4.html#a62d77b9894e72f5d0be3bb0965f7a4d3">operator==</a> (const <a class="el" href="class_g_slot_a_p_i.html">GSlotAPI</a> &amp;other)</td></tr>
<tr class="separator:a62d77b9894e72f5d0be3bb0965f7a4d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public 属性</h2></td></tr>
<tr class="memitem:aed9bd8e4ce50dc15f0a077ae16682659"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_g_object.html">GObject</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_slot_a_p_i_3_01_ret_07_args_8_8_8_08_4.html#aed9bd8e4ce50dc15f0a077ae16682659">m_receiver</a></td></tr>
<tr class="separator:aed9bd8e4ce50dc15f0a077ae16682659"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected 属性</h2></td></tr>
<tr class="memitem:a21d684c954c3454959ba7d75a437c00b"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_slot_a_p_i_3_01_ret_07_args_8_8_8_08_4.html#a21d684c954c3454959ba7d75a437c00b">m_slot</a></td></tr>
<tr class="separator:a21d684c954c3454959ba7d75a437c00b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">构造及析构函数说明</h2>
<a class="anchor" id="a843104e8df8f866e3eabb08090f9b032"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Ret , typename... Args&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_g_slot_a_p_i.html">GSlotAPI</a>&lt; Ret(Args...)&gt;::<a class="el" href="class_g_slot_a_p_i.html">GSlotAPI</a> </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>slot</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_g_object.html">GObject</a> *&#160;</td>
          <td class="paramname"><em>receiver</em> = <code>NULL</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="g_object__cpp11_8h.html#a840bee69409114b9a31ecfca0995f9e2">E_SLOT_TYPE</a>&#160;</td>
          <td class="paramname"><em>t</em> = <code><a class="el" href="g_object__cpp11_8h.html#a840bee69409114b9a31ecfca0995f9e2a3fc6c5937b1d4f58d15eb8275f33a79d">C_SLOT_TYPE</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a2a0573264e0a275b39f2a4749e097590"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Ret , typename... Args&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="class_g_slot_a_p_i.html">GSlotAPI</a>&lt; Ret(Args...)&gt;::~<a class="el" href="class_g_slot_a_p_i.html">GSlotAPI</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a class="anchor" id="a9702c9ca132ac1199b314d42be4382fb"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Ret , typename... Args&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void <a class="el" href="class_g_slot_a_p_i.html">GSlotAPI</a>&lt; Ret(Args...)&gt;::operator() </td>
          <td>(</td>
          <td class="paramtype">Args &amp;...&#160;</td>
          <td class="paramname"><em>args</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>在 <a class="el" href="class_g_slot_cpp_3_01_receiver_00_01_ret_07_args_8_8_8_08_4.html#aca4fbb63f1b43b8bcfe2b94d7c5ca224">GSlotCpp&lt; Receiver, Ret(Args...)&gt;</a> 内被实现.</p>

</div>
</div>
<a class="anchor" id="a62d77b9894e72f5d0be3bb0965f7a4d3"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Ret , typename... Args&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="class_g_slot_a_p_i.html">GSlotAPI</a>&lt; Ret(Args...)&gt;::operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_g_slot_a_p_i.html">GSlotAPI</a>&lt; Ret(Args...)&gt; &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a1701fb6604f8a6f4d4e2805f485cca62"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Ret , typename... Args&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="g_object__cpp11_8h.html#a840bee69409114b9a31ecfca0995f9e2">E_SLOT_TYPE</a> <a class="el" href="class_g_slot_a_p_i.html">GSlotAPI</a>&lt; Ret(Args...)&gt;::type </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a class="anchor" id="aed9bd8e4ce50dc15f0a077ae16682659"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Ret , typename... Args&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_g_object.html">GObject</a>* <a class="el" href="class_g_slot_a_p_i.html">GSlotAPI</a>&lt; Ret(Args...)&gt;::m_receiver</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a21d684c954c3454959ba7d75a437c00b"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Ret , typename... Args&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void* <a class="el" href="class_g_slot_a_p_i.html">GSlotAPI</a>&lt; Ret(Args...)&gt;::m_slot</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>API/<a class="el" href="g_object__cpp11_8h.html">gObject_cpp11.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
生成于 2019年 三月 23日 星期六 14:13:10 , 为 Giveda® Embedded Midware使用  &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
